home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1998 August / PC Plus SuperCD 50a Issue 142 (CD142a) (August 1998).iso / trial / demon / TURNPIKE.1 / CLASSES.ZIP / JAVA / LANG / Object.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-04-14  |  1.0 KB  |  41 lines

  1. package java.lang;
  2.  
  3. public class Object {
  4.    public final native Class getClass();
  5.  
  6.    public native int hashCode();
  7.  
  8.    public boolean equals(Object var1) {
  9.       return this == var1;
  10.    }
  11.  
  12.    protected native Object clone() throws CloneNotSupportedException;
  13.  
  14.    public String toString() {
  15.       StringBuffer var10000 = (new StringBuffer()).append(this.getClass().getName()).append("@");
  16.       int var1 = this.hashCode();
  17.       return var10000.append(Integer.toUnsignedString(var1, 4)).toString();
  18.    }
  19.  
  20.    public final native void notify();
  21.  
  22.    public final native void notifyAll();
  23.  
  24.    public final native void wait(long var1) throws InterruptedException;
  25.  
  26.    public final void wait(long var1, int var3) throws InterruptedException {
  27.       if (var3 >= 500000 || var3 != 0 && var1 == 0L) {
  28.          ++var1;
  29.       }
  30.  
  31.       this.wait(var1);
  32.    }
  33.  
  34.    public final void wait() throws InterruptedException {
  35.       this.wait(0L);
  36.    }
  37.  
  38.    protected void finalize() throws Throwable {
  39.    }
  40. }
  41.